package com.health.db.mapper;

import java.util.List;

import com.health.db.model.AdvertisementList;
import com.health.db.model.AdvertisementListExample;
import com.health.db.model.AdvertisementListTemp;

public interface AdvertisementListMapper {
    int countByExample(AdvertisementListExample example);

    int deleteByExample(AdvertisementListExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(AdvertisementList record);

    int insertSelective(AdvertisementList record);

    List<AdvertisementList> selectByExample(AdvertisementListExample example);

    AdvertisementList selectByPrimaryKey(Long recid);
    
    AdvertisementListTemp selectByTop();

    int updateByPrimaryKeySelective(AdvertisementList record);

    int updateByPrimaryKey(AdvertisementList record);
    
    List<AdvertisementListTemp> selectSimple(AdvertisementListExample example);
    
    int updateReadAmount(Long advertisementid);
}